import request from "../utils/request";

//小核酸预约提交
export function xiaohesuanBookingSubmit(data) {
    return request({
        url: '/api/bookingxiaohesuan/saveXiaohesuan',
        method: 'POST',
        data
    })
}

//判读小核酸是否预约
export function findXiaohesuan(data) {
    return request({
        url: '/api/bookingxiaohesuan/findXiaohesuan',
        method: 'POST',
        data
    })
}


/**
 * poster 信息
 */
export function getPosterDetail() {
    return request({
        url: '/api/bookingposter/getPoster',
        method: 'GET'
    })
}

/**
 * poster 创建分享数据
 */
export function createUserBookingShareRecord(data) {
    return request({
        url: '/api/bookingposter/createUserBookingShareRecord',
        method: 'POST',
        data
    })
}


/**
 * 保存分享记录
 */
export function saveShareRecord(data) {
    return request({
        url: '/api/bookingposter/saveShareRecord',
        method: 'POST',
        data
    })
}
